package com.banmao.mall.mapper;

import com.banmao.mall.model.bo.admin.user.FootprintListBO;
import com.banmao.mall.model.pojo.Foorprint;
import com.banmao.mall.model.vo.admin.user.FootprintVO;
import com.banmao.mall.model.vo.client.order.footprint.FootprintListBean;

import java.util.List;

public interface FoorprintMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Foorprint record);

    int insertSelective(Foorprint record);

    Foorprint selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Foorprint record);

    int updateByPrimaryKey(Foorprint record);

    List<FootprintVO> selectFootprintByCondition(FootprintListBO footprintListBO);

    List<FootprintListBean> selectFootPrintList(Integer userId, Integer page, Integer size);

    Integer setCountTotal(Integer userId);

    Foorprint selectByGoodsId(Integer goodsId,Integer userId);

}